package day10;

import java.util.HashMap;
import java.util.Map;

public class test01 {
    public static void main(String[] args) {
        Map<String,String> list=new HashMap<>();
        list.put("12","23");
        list.put("12","23");
        list.put("13","23");
        list.put("14","25");
        list.put("16","26");
        list.put("17","27");
        System.out.println(list);
        list.remove("13");
        boolean b = list.containsKey("14");
        System.out.println("是否包含14这个键"+b);
        int size = list.size();
        System.out.println(size);
        list.clear();
        boolean empty = list.isEmpty();
        System.out.println("是否为空"+empty);


    }
}
